<%--
    Document   : _right
    Created on : 9 mai 2012, 11:34:29
    Author     : Thomas
--%>

<%@page import="business.*" %>

<%! BasketMgr basket; %>
<% basket = (BasketMgr) request.getSession().getAttribute("basket"); %>

<div class="span2">
    <h3>Panier</h3>
    <br/>
    <a href="<%= request.getContextPath() %>/Basket?action=voirPanier"><i class="icon-edit"></i>&nbsp;G&eacute;rer mon panier</a><br/>
    <a href="<%= request.getContextPath() %>/Order?action=editerClient"><i class="icon-envelope"></i>&nbsp;Commander</a><br/><br/>
    <i class="icon-shopping-cart" title="Articles dans le panier"></i>&nbsp;<%= basket.getProducts().size() %>&nbsp;article(s)<br/>
    <i class="icon-list" title="Prix total du panier"></i>&nbsp;<%= basket.getTotal().toString() %>&nbsp;&euro; ttc
</div>